@extends('index')

@section('main')

<div class="main" >
  <!--一屏开始-->
  <div class="clearfix" >
    <div class="lf80 yahei paddingtop25">
      <div  class="form-tit2 form-tit4 clearfix">
        <h2>找回密码</h2>
      </div>
     
    <form action="{{url('/zhaohui')}}" method="post">
      <div class="formcon clearfix">
        <div class="findchoice">
          <h2 category="change" index="1" class="choice">重新输入密码</h2>
        </div>
      </div>
       	@if(session('error'))
        <div class="wrong" style="display:inline-block;">
            {{session('error')}}
        </div>
        @endif

        @if (count($errors) > 0)
          <div class="wrong" style="display:inline-block;">
              <ul>
                  @foreach ($errors->all() as $error)
                      <li>{{ $error }}</li>
                  @endforeach
              </ul>
          </div>
        @endif

      <div category="changelist" index="1" class="form-warp form-warp-find  clearfix">
        <p class="passwordp clearfix">
            <input class="password " type="password" name="password" maxlength="20" placeholder="密码(不少于6位)" id="txtPassWord" value="" />
            <span category="pwdTip" class="explain"><b class="cyellow">*</b>6-18个大小写英文字母、数字,符号</span>
            <span category="pwdRight" class="explain correct" style="display:none"></span>
        </p>

        
        <p class="passwordp clearfix">
            <input class="password " type="password" name="repassword" maxlength="20" placeholder="确认密码" id="txtPassWord" value="" />
            <span category="pwdTip" class="explain"><b class="cyellow">*</b>确认密码 必须和密码一致</span>
            <span category="pwdRight" class="explain correct" style="display:none"></span>
        </p>

        <input type="hidden" name="id" value="{{$id}}">
        {{csrf_field()}}
        <p  class="clearfix">
          <input type="submit" value="提交" class="submitbtn" style="cursor: pointer" />
          <!-- <input type="submit" value="提交中" class="submitbtn" />-->
        </p>
      </div>
      
	</form>
    </div>
  </div>
  <!--一屏结束-->
</div>


@endsection